﻿<phoneNavigation:PhoneApplicationPage 
    x:Class="SilverlightPhoneDatabaseTest.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phoneNavigation="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal">
            <Button x:Name="RunTests" Content="Run Tests" Click="RunTests_Click" HorizontalAlignment="Left" VerticalAlignment="Center"/>
        </StackPanel>
        <ScrollViewer Grid.Row="1">
            <StackPanel Orientation="Vertical" x:Name="ResultPanel">
                <TextBlock Text="Create Database" x:Name="CreateDatabaseTestLabel"/>
                <TextBlock Text="Create Table" x:Name="CreateTableTestLabel"/>
                <TextBlock Text="Save DB" x:Name="SaveDBLabel"/>
                <TextBlock Text="Save Single Table" x:Name="SaveSingleTableLabel"/>
                <TextBlock Text="Open DB" x:Name="OpenDBLabel"/>
                <TextBlock Text="Add Range" x:Name="AddRangeLabel"/>
                <TextBlock Text="Remove Range" x:Name="RemoveRangeLabel"/>
                <TextBlock Text="Remove Range via Condition" x:Name="RemoveRangeViaConditionLabel"/>
                <TextBlock Text="Cannot save stand alone table" x:Name="SaveTableFailsLabel"/>
                <TextBlock Text="Save DB With Encryption" x:Name="SaveDBEncryptionLabel"/>
                <TextBlock Text="Open DB With Encryption" x:Name="OpenDBEncryptionLabel"/>
                <TextBlock Text="Linq Select Test" x:Name="LinqSelectTestLabel"/>
                <TextBlock Text="Lazy Loading Test" x:Name="LazyLoadingTestLabel"/>
                <TextBlock Text="Add Row To Existing Table Test" x:Name="AddRowToExistingTableTestLabel"/>
                <TextBlock Text="Add Row To Existing Table Test With Lazy Load" x:Name="AddRowToExistingTableTestLazyLoadLabel"/>
                <TextBlock Text="Database Exists" x:Name="DatabaseExistsLabel"/>
                <TextBlock Text="Create Table From XML" x:Name="CreateTableFromXMLLabel"/>
                <TextBlock Text="Asynchronous Save" x:Name="AsynchronousSaveLabel"/>
                <TextBlock Text="Version In Table Name" x:Name="TableVersionInNameTestLabel"/>
                <TextBlock Text="Cancel Changes" x:Name="CancelTestLabel"/>
                <TextBlock Text="Named Tables Legacy" x:Name="NamedTablesLegacyLabel"/>
                <TextBlock Text="Named Tables" x:Name="NamedTablesLabel"/>
            </StackPanel>
        </ScrollViewer>
    </Grid>

</phoneNavigation:PhoneApplicationPage>